require "starframe/loadable"

module StarFrame
  module Image
    extend StarFrame::Loadable
    @@postfixes = [".png"]
    
    def self.load path = "images"
      super
    end
    
    def self.loaded path
      StarRuby::Texture.load path
    end
  end
end
